home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / card_16430.txt < prev    next >
Text File  |  1990-04-17  |  15KB  |  676 lines

  1. -- card: 16430 from stack: in
  2. -- bmap block id: 16817
  3. -- flags: 0000
  4. -- background id: 18894
  5. -- name: MacCloseUp3
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global holder,env,sol
  9.   put empty into card field "Explainer"
  10.   put empty into card field "Choice"
  11.   put empty into card field "Category"
  12.   put empty into fld "Tell"
  13.   put empty into cd fld "Network"
  14.   put sol into cd fld "sol"
  15.   put "Macintosh" into cd fld "env"
  16.   hide cd btn "explainerHiliter"
  17.   hide cd btn "solChoiceHilite"
  18.   hide cd btn "solListHiliter"
  19.   hide cd fld "solList"
  20.   --engine begin
  21.   put card field (env && sol) of card "Mac Grid" into holder
  22.   if holder is empty
  23.   then
  24.   put "No Solutions installed in this version" into card fld "Explainer"
  25.   exit openCard
  26. end if
  27. repeat with i = 1 to the number of lines of holder
  28.   if item 1 of line i of holder <> empty then
  29.     put item 1 of line i of holder & return after card field "Explainer"
  30.   end if
  31. end repeat
  32. end openCard
  33.  
  34.  
  35. on mouseUp
  36.   --beep 1
  37.   --put "This needs to keep track of which level you came from, JONATHAN."
  38.   --‚Ä¢using the level buttons seems the best way, offhand, that way
  39.   --‚Ä¢the hilited button is the structure.  JON
  40.   set lockscreen to true
  41.   --send mouseUp to cd btn id 20
  42.   unlock screen with dissolve
  43. end mouseUp
  44.  
  45. on closeCard
  46.   put empty into fld "Tell"
  47.   set hilite of cd btn id 20 to false
  48.   set hilite of btn id 19 to false
  49.   set scroll of cd fld "Explainer" to zero
  50. end closeCard
  51.  
  52. on extractMac
  53.   global sol,env,holder
  54.   --environments,envnum,solutions,solnum,holder
  55.   get card field (env && sol) of card "Mac Grid"
  56.   put empty into holder
  57.   repeat with i = 1 to the number of lines of it
  58.     if item 1 of line i of it <> empty then
  59.       put line i of it & return after holder
  60.     end if
  61.   end repeat
  62. end extractMac
  63.  
  64. on extractHost
  65.   global sol,env,holder
  66.   get card field (env && sol) of card "Mac Grid"
  67.   put empty into holder
  68.   repeat with i = 1 to the number of lines of it
  69.     if item 2 of line i of it <> empty then
  70.       put line i of it & return after holder
  71.     end if
  72.   end repeat
  73. end extractHost
  74.  
  75. on parseReads
  76.   global holder,Reads2,prodname3
  77.   put empty into Reads2
  78.   repeat with i = 1 to the number of lines of holder
  79.     if item 1 of line i of holder is prodname3 then
  80.       put item 4 of line i of holder into dotnames
  81.       repeat
  82.         put offset("‚Ä¢",dotnames) into num
  83.         if num is empty or num is 0 then exit repeat
  84.         put char 1 to (num - 1) of dotnames & return after Reads2
  85.         delete char 1 to num of dotnames
  86.       end repeat
  87.     end if
  88.   end repeat
  89. end parseReads
  90.  
  91. on parseWrites
  92.   global holder,Writes2,prodname3
  93.   put empty into Writes2
  94.   repeat with i = 1 to the number of lines of holder
  95.     if item 1 of line i of holder is prodname3 then
  96.       put item 5 of line i of holder into dotnames
  97.       repeat
  98.         put offset("‚Ä¢",dotnames) into num
  99.         if num is empty or num is 0 then exit repeat
  100.         put char 1 to (num - 1) of dotnames & return after Writes2
  101.         delete char 1 to num of dotnames
  102.       end repeat
  103.     end if
  104.   end repeat
  105. end parseWrites
  106.  
  107. on parseNetwork
  108.   global holder,Network2,prodname3
  109.   put empty into Network2
  110.   repeat with i = 1 to the number of lines of holder
  111.     if item 1 of line i of holder is prodname3 then
  112.       put item 6 of line i of holder into dotnames
  113.       repeat
  114.         put offset("‚Ä¢",dotnames) into num
  115.         if num is empty or num is 0 then exit repeat
  116.         put char 1 to (num - 1) of dotnames & return after Network2
  117.         delete char 1 to num of dotnames
  118.       end repeat
  119.     end if
  120.   end repeat
  121. end parseNetwork
  122.  
  123.  
  124.  
  125.  
  126. -- part 41 (button)
  127. -- low flags: 00
  128. -- high flags: 0000
  129. -- rect: left=0 top=0 right=303 bottom=512
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 1
  133. -- font id: 0
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: mask
  138.  
  139.  
  140. -- part 2 (field)
  141. -- low flags: 01
  142. -- high flags: 2007
  143. -- rect: left=170 top=63 right=148 bottom=421
  144. -- title width / last selected line: 0
  145. -- icon id / first selected line: 0 / 0
  146. -- text alignment: 0
  147. -- font id: 242
  148. -- text size: 10
  149. -- style flags: 0
  150. -- line height: 13
  151. -- part name: Explainer
  152. ----- HyperTalk script -----
  153. on mouseUp
  154.   global holder,prodname3,Reads2,Writes2,Network2
  155.   set cursor to busy
  156.   set hilite of btn id 20 to false
  157.   set hilite of btn id 19 to false
  158.   put empty into cd fld "Reads"
  159.   put empty into cd fld "Writes"
  160.   put empty into cd fld "Network"
  161.   put empty into cd fld "Category"
  162.   --‚àÜ Get product name and hilite
  163.   put selectionAndHiliter() into cardline
  164.   put line cardline of me into prodname3
  165.   if prodname3 is empty
  166.   then
  167.   answer "Empty Choice!" with "Try Again"
  168.   exit mouseup
  169. end if
  170. put prodname3 into cd fld "choice"
  171. repeat with i = 1 to the number of lines of holder
  172.   if item 1 of line i of holder is prodname3
  173.   then
  174.   put item 3 of line i of holder into cd fld "Category"
  175.   parseReads
  176.   put Reads2 after cd field "Reads"
  177.   parseWrites
  178.   put Writes2 after cd field "Writes"
  179.   parseNetwork
  180.   put Network2 after cd field "Network"
  181.   exit repeat
  182. end if
  183. end repeat
  184. hide cd btn "explainerHiliter"
  185. end mouseUp
  186.  
  187. on mouseEnter
  188.   changeCurs 6069
  189.   put "Products Field" & return & "click to select a product" into fld "Tell"
  190. end mouseEnter
  191.  
  192. on mouseLeave
  193.   changeCurs 69
  194.   put empty into fld "Tell"
  195. end mouseleave
  196. On mouseDown
  197.   Global ClickSND
  198.   play ClickSND
  199. End mouseDown
  200.  
  201.  
  202. -- part 5 (field)
  203. -- low flags: 01
  204. -- high flags: 2000
  205. -- rect: left=84 top=168 right=188 bottom=275
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 0
  209. -- font id: 242
  210. -- text size: 9
  211. -- style flags: 256
  212. -- line height: 12
  213. -- part name: Choice
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   get me
  217.   if it is empty
  218.   then
  219.   put "Choose a Product!" into fld "Tell"
  220.   exit mouseUp
  221. else
  222.   put char 1 to 26 of it into prod
  223.   push card
  224.   visual effect dissolve
  225.   go card prod of stack "Products"
  226. end if
  227. end mouseUp
  228.  
  229. on mouseEnter
  230.   put "'Product Chosen' Field" & return & "click for more info" into fld "Tell"
  231. end mouseEnter
  232. on mouseLeave
  233.   put empty into fld "Tell"
  234. end mouseleave
  235. On mouseDown
  236.   Global ClickSND
  237.   play ClickSND
  238. End mouseDown
  239.  
  240.  
  241. -- part 12 (field)
  242. -- low flags: 01
  243. -- high flags: 2000
  244. -- rect: left=275 top=168 right=188 bottom=421
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 0 / 0
  247. -- text alignment: 0
  248. -- font id: 242
  249. -- text size: 9
  250. -- style flags: 0
  251. -- line height: 12
  252. -- part name: Category
  253. ----- HyperTalk script -----
  254. on mouseEnter
  255.   put "'Category' Field" & return & "" into fld "Tell"
  256. end mouseEnter
  257. on mouseLeave
  258.   put empty into fld "Tell"
  259. end mouseleave
  260.  
  261.  
  262. -- part 17 (button)
  263. -- low flags: 00
  264. -- high flags: 0000
  265. -- rect: left=167 top=272 right=304 bottom=345
  266. -- title width / last selected line: 0
  267. -- icon id / first selected line: 0 / 0
  268. -- text alignment: 1
  269. -- font id: 0
  270. -- text size: 12
  271. -- style flags: 0
  272. -- line height: 16
  273. -- part name: 
  274.  
  275.  
  276. -- part 19 (button)
  277. -- low flags: 00
  278. -- high flags: 8004
  279. -- rect: left=94 top=265 right=282 bottom=248
  280. -- title width / last selected line: 0
  281. -- icon id / first selected line: 0 / 0
  282. -- text alignment: 1
  283. -- font id: 132
  284. -- text size: 12
  285. -- style flags: 8192
  286. -- line height: 16
  287. -- part name: Get Vendor Info
  288. ----- HyperTalk script -----
  289. on mouseUp
  290.   if cd field "Choice" is empty
  291.   then
  292.   put "Select a Product!" into fld "Tell"
  293.   exit mouseUp
  294. else
  295.   send mouseUp to cd fld "Choice"
  296. end if
  297. end mouseUp
  298.  
  299. on mouseDown
  300.   Global ClickSND
  301.   play ClickSND
  302. end mouseDown
  303.  
  304. on mouseEnter
  305.   changeCurs 6069
  306.   put "Go to Products Button" & return & "goes to the product card" into fld "Tell"
  307. end mouseEnter
  308.  
  309. on mouseLeave
  310.   changeCurs 69
  311.   put empty into fld "Tell"
  312. end mouseleave
  313.  
  314.  
  315.  
  316. -- part 20 (button)
  317. -- low flags: 00
  318. -- high flags: 8004
  319. -- rect: left=267 top=265 right=283 bottom=424
  320. -- title width / last selected line: 0
  321. -- icon id / first selected line: 0 / 0
  322. -- text alignment: 1
  323. -- font id: 132
  324. -- text size: 12
  325. -- style flags: 8192
  326. -- line height: 16
  327. -- part name: Go Back to Room
  328. ----- HyperTalk script -----
  329. on mouseUp
  330.   global theRoom
  331.   go to cd theRoom
  332.   unlock screen with dissolve
  333. end mouseUp
  334.  
  335. On mouseDown
  336.   Global ClickSND
  337.   play ClickSND
  338. End mouseDown
  339.  
  340. on mouseEnter
  341.   changeCurs 6069
  342.   put "Return to Room Button" & return & "return to connectivity room" into fld "Tell"
  343. end mouseEnter
  344.  
  345. on mouseLeave
  346.   changeCurs 69
  347.   put empty into fld "Tell"
  348. end mouseleave
  349.  
  350.  
  351.  
  352.  
  353. -- part 22 (field)
  354. -- low flags: 01
  355. -- high flags: 0000
  356. -- rect: left=89 top=216 right=266 bottom=194
  357. -- title width / last selected line: 0
  358. -- icon id / first selected line: 0 / 0
  359. -- text alignment: 0
  360. -- font id: 242
  361. -- text size: 9
  362. -- style flags: 0
  363. -- line height: 12
  364. -- part name: Reads
  365. ----- HyperTalk script -----
  366. on mouseEnter
  367.   put "the file types this" & return & "application can open" into fld "Tell"
  368. end mouseEnter
  369. on mouseLeave
  370.   put empty into fld "Tell"
  371. end mouseleave
  372.  
  373.  
  374. -- part 24 (field)
  375. -- low flags: 01
  376. -- high flags: 0000
  377. -- rect: left=197 top=216 right=264 bottom=281
  378. -- title width / last selected line: 0
  379. -- icon id / first selected line: 0 / 0
  380. -- text alignment: 0
  381. -- font id: 242
  382. -- text size: 9
  383. -- style flags: 0
  384. -- line height: 12
  385. -- part name: Writes
  386. ----- HyperTalk script -----
  387. on mouseEnter
  388.   put "the file types the" & return & "application can save" into fld "Tell"
  389. end mouseEnter
  390. on mouseLeave
  391.   put empty into fld "Tell"
  392. end mouseleave
  393.  
  394.  
  395. -- part 25 (field)
  396. -- low flags: 01
  397. -- high flags: 0000
  398. -- rect: left=281 top=216 right=265 bottom=383
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 0 / 0
  401. -- text alignment: 0
  402. -- font id: 242
  403. -- text size: 9
  404. -- style flags: 0
  405. -- line height: 12
  406. -- part name: Network
  407. ----- HyperTalk script -----
  408. on mouseEnter
  409.   put "network communication method" into fld "Tell"
  410. end mouseEnter
  411. on mouseLeave
  412.   put empty into fld "Tell"
  413. end mouseleave
  414.  
  415.  
  416. -- part 30 (field)
  417. -- low flags: 01
  418. -- high flags: 0000
  419. -- rect: left=12 top=0 right=30 bottom=211
  420. -- title width / last selected line: 0
  421. -- icon id / first selected line: 0 / 0
  422. -- text alignment: 0
  423. -- font id: 156
  424. -- text size: 18
  425. -- style flags: 2048
  426. -- line height: 24
  427. -- part name: FloorName
  428.  
  429.  
  430. -- part 31 (field)
  431. -- low flags: 01
  432. -- high flags: 0000
  433. -- rect: left=89 top=60 right=143 bottom=167
  434. -- title width / last selected line: 0
  435. -- icon id / first selected line: 0 / 0
  436. -- text alignment: 0
  437. -- font id: 242
  438. -- text size: 12
  439. -- style flags: 0
  440. -- line height: 16
  441. -- part name: headerX
  442.  
  443.  
  444. -- part 34 (field)
  445. -- low flags: 01
  446. -- high flags: 0000
  447. -- rect: left=170 top=49 right=63 bottom=234
  448. -- title width / last selected line: 0
  449. -- icon id / first selected line: 0 / 0
  450. -- text alignment: 0
  451. -- font id: 3
  452. -- text size: 9
  453. -- style flags: 256
  454. -- line height: 12
  455. -- part name: env
  456.  
  457.  
  458. -- part 35 (field)
  459. -- low flags: 01
  460. -- high flags: 0000
  461. -- rect: left=237 top=49 right=63 bottom=375
  462. -- title width / last selected line: 0
  463. -- icon id / first selected line: 0 / 0
  464. -- text alignment: 0
  465. -- font id: 3
  466. -- text size: 9
  467. -- style flags: 256
  468. -- line height: 12
  469. -- part name: sol
  470.  
  471.  
  472. -- part 36 (field)
  473. -- low flags: 01
  474. -- high flags: 0000
  475. -- rect: left=88 top=35 right=49 bottom=207
  476. -- title width / last selected line: 0
  477. -- icon id / first selected line: 0 / 0
  478. -- text alignment: 0
  479. -- font id: 3
  480. -- text size: 9
  481. -- style flags: 256
  482. -- line height: 12
  483. -- part name: solChoices
  484. ----- HyperTalk script -----
  485. on mouseUp
  486.   show cd btn "solChoiceHilite"
  487.   set the visible of cd field "solList" to not the visible of cd field "solList"
  488. end mouseUp
  489.  
  490. on mouseEnter
  491.   put "Change Solution Menu" & return & "click to show a list" into fld "Tell"
  492.   changeCurs 6069
  493. end mouseEnter
  494.  
  495. on mouseLeave
  496.   put empty into fld "Tell"
  497.   changeCurs 69
  498. end mouseleave
  499.  
  500. On mouseDown
  501.   Global ClickSND
  502.   play ClickSND
  503. End mouseDown
  504.  
  505.  
  506. -- part 37 (button)
  507. -- low flags: 80
  508. -- high flags: 4000
  509. -- rect: left=171 top=94 right=108 bottom=404
  510. -- title width / last selected line: 0
  511. -- icon id / first selected line: 0 / 0
  512. -- text alignment: 1
  513. -- font id: 0
  514. -- text size: 12
  515. -- style flags: 0
  516. -- line height: 16
  517. -- part name: explainerHiliter
  518.  
  519.  
  520. -- part 44 (button)
  521. -- low flags: 80
  522. -- high flags: 4000
  523. -- rect: left=88 top=36 right=48 bottom=221
  524. -- title width / last selected line: 0
  525. -- icon id / first selected line: 0 / 0
  526. -- text alignment: 1
  527. -- font id: 0
  528. -- text size: 12
  529. -- style flags: 0
  530. -- line height: 16
  531. -- part name: solChoiceHilite
  532.  
  533.  
  534. -- part 46 (field)
  535. -- low flags: 81
  536. -- high flags: 0002
  537. -- rect: left=88 top=48 right=147 bottom=221
  538. -- title width / last selected line: 0
  539. -- icon id / first selected line: 0 / 0
  540. -- text alignment: 0
  541. -- font id: 3
  542. -- text size: 9
  543. -- style flags: 256
  544. -- line height: 12
  545. -- part name: solList
  546. ----- HyperTalk script -----
  547. on mouseUp
  548.   global sol
  549.   --‚àÜ select and highlight line
  550.   put SelectionAndHiliter() into lineNumber
  551.   --‚àÜ Convert line number to the contents of the line
  552.   do "put line " & lineNumber & " of " & name of me & " into name"
  553.   --‚àÜ test for empty selection
  554.   if name is "" then
  555.     play cymbal
  556.     answer "Click directly on your choice" with "Try again!"
  557.     exit mouseUp
  558.   end if
  559.   --‚àÜ now hide menu and place new selection in card
  560.   set lockScreen to true
  561.   set cursor to busy
  562.   put empty into cd fld "Reads"
  563.   put empty into cd fld "Writes"
  564.   put empty into cd fld "Network"
  565.   put empty into cd fld "Choice"
  566.   put empty into cd fld "Category"
  567.   hide me
  568.   hide cd btn "solChoiceHilite"
  569.   hide cd btn "solListHiliter"
  570.   put name into sol
  571.   unlock screen
  572.   send openCard to this card
  573. end mouseUp
  574.  
  575. on mouseEnter
  576.   put "Solutions Field" & return & "click to choose" into fld "Tell"
  577.   changeCurs 6069
  578. end mouseEnter
  579.  
  580. on mouseLeave
  581.   put empty into fld "Tell"
  582.   changeCurs 69
  583. end mouseleave
  584.  
  585. On mouseDown
  586.   Global ClickSND
  587.   play ClickSND
  588. End mouseDown
  589.  
  590.  
  591. -- part 43 (button)
  592. -- low flags: 80
  593. -- high flags: 4000
  594. -- rect: left=89 top=61 right=73 bottom=220
  595. -- title width / last selected line: 0
  596. -- icon id / first selected line: 0 / 0
  597. -- text alignment: 1
  598. -- font id: 0
  599. -- text size: 12
  600. -- style flags: 0
  601. -- line height: 16
  602. -- part name: solListHiliter
  603.  
  604.  
  605. -- part contents for card part 30
  606. ----- text -----
  607. Macintosh Screen II
  608.  
  609. -- part contents for card part 31
  610. ----- text -----
  611. Click on a product at right for more information:
  612.  
  613. -- part contents for card part 36
  614. ----- text -----
  615. Solution Areas
  616.  
  617. -- part contents for background part 41
  618. ----- text -----
  619.  
  620.  
  621.  
  622. -- part contents for card part 35
  623. ----- text -----
  624. Engineering/CAD
  625.  
  626. -- part contents for card part 34
  627. ----- text -----
  628. Macintosh
  629.  
  630. -- part contents for card part 46
  631. ----- text -----
  632. Info Management
  633. Software Development
  634.  
  635.  
  636. -- part contents for card part 2
  637. ----- text -----
  638. auraCAD/CAM
  639. AutoCAD for the Macintosh
  640. Claris CAD
  641. MicroStation Mac 3.5.1
  642. MacBRAVO! DETAILER
  643. MacBRAVO! ELECTRONICS DESIGNER
  644. MacBRAVO! FACILITIES
  645. MacBRAVO! MODELER
  646. MSC/pal 2 V3.5  
  647. VersaCAD/Macintosh Edition 2.2
  648. Mathematica For Macintosh
  649.  
  650.  
  651. -- part contents for card part 5
  652. ----- text -----
  653. Claris CAD
  654.  
  655. -- part contents for card part 12
  656. ----- text -----
  657. CAD
  658.  
  659. -- part contents for card part 22
  660. ----- text -----
  661. DXF
  662. IGES
  663. PICT
  664.  
  665.  
  666. -- part contents for card part 24
  667. ----- text -----
  668. DXF
  669. IGES
  670. PICT
  671.  
  672.  
  673. -- part contents for card part 25
  674. ----- text -----
  675. File Transfer
  676.